(priv->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
priv->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER))
{
- location_popup_handler (impl, event->string);
+ const char *string;
+
+ gdk_event_get_string ((GdkEvent *)event, &string);
+ location_popup_handler (impl, string);
return TRUE;
}
if (priv->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
priv->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
{
- location_popup_handler (impl, event->string);
+ const char *string;
+
+ gdk_event_get_string ((GdkEvent *)event, &string);
+ location_popup_handler (impl, string);
return TRUE;
}
}